﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TimKenSite.Master" AutoEventWireup="true"
    CodeBehind="Business.aspx.cs" Inherits="TimKen.Web.Business" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="Common/Style/common.css" rel="stylesheet" type="text/css" />
    <link href="Common/Style/PagerStyle.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $(".nav_li").hover(function () {//鼠标放上去时候的效果
                $(this).children("a").addClass("navon"); //鼠标放上去的加上高亮
                $(this).children("div").show(); //鼠标放上去的二级栏目出来
                $(this).siblings().children("a").removeClass("navon"); //其他的高亮取消
                $(".common_search_tk").css("position", "static");
                $(".common_search_tkicon").hide();
            }, function () {//鼠标移开时候的效果
                $(this).children("a").removeClass("navon"); //鼠标移开去掉高亮
                $(this).children("div").hide(); //鼠标移开隐藏二级栏目
                $(".common_search_tk").css("position", "relative");
                $(".common_search_tkicon").show();
                $(".nav_li:eq(3)").children("a").addClass("navon"); //回到当前栏目高亮
            });
        });
        $(document).ready(function () {
            $(".nav_li:eq(3)").children("a").addClass("navon").parent().siblings().children("a").removeClass();
            $(".left_nav ul li:eq(0)").children("a").addClass("left_navon"); //左侧导航，当前栏目高亮	
        });
        window.onload = function () { for (var ii = 0; ii < document.links.length; ii++) document.links[ii].onfocus = function () { this.blur() } }	
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Title" runat="server">
    <div class="left_nav">
        <ul>
          <li><a href="Business.aspx"><%=GetLangString("Manufactures") %></a></li>
            <li><a href="Dealers.aspx">
                <%=GetLangString("MenuDistributor")%></a></li>
        </ul>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="body" runat="server">
    <form runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div class="partner_box common_border">
        <ul class="common_page"> 
<%= GetLangString("Currentposition") %>：<a href="Index.aspx"><%=GetLangString("MenuHome")%></a>/<a href="Dealers.aspx"><%=GetLangString("PartnerCompanies") %></a>/<a href="Business.aspx"><%=GetLangString("Manufactures")%></a>
      
        </ul>
        <div class="supplier">
            <h1>
                <%=GetLangString("Manufactures")%></h1>
            <div class="supplier_div fix">
                <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                    <ContentTemplate>
                        <asp:DataList ID="dlBrand" runat="server" RepeatLayout="Table" EnableViewState="false"
                            RepeatDirection="Horizontal" RepeatColumns="2" HorizontalAlign="Center">
                            <ItemTemplate>
                                <ul class="supplier_ul">
                                    <div class="supplier_ulL">
                                        <a href="BusinessInfo.aspx?BrandID=<%#Eval("BrandID")%>">
                                            <img src='<%#UploadFilePathForProduct + Eval("Logo").ToString()%>' width="79" height="74"
                                                alt="图片" /></a>
                                    </div>
                                    <div class="supplier_ulR">
                                        <h6>
                                            <%#Eval("CompanyName")%></h6>
                                        <p>
                                            <%#Eval("Msg") %><a href="BusinessInfo.aspx?BrandID=<%#Eval("BrandID")%>"> <%=GetLangString("More") %>>></a></p>
                                    </div>
                                </ul>
                            </ItemTemplate>
                        </asp:DataList>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <%--            <ul class="supplier_ul">
                    <div class="supplier_ulL">
                        <a href="#">
                            <img src="Common/Image/advimgs/gys1.gif" width="79" height="74" /></a></div>
                    <div class="supplier_ulR">
                        <h6>
                            马丁传动件（中国）有限公司</h6>
                        <p>
                            营销普遍被定义为，使产品流从卖家转到买家并且能够满足买卖双方需求的商业活动。<a href="#">详情>></a></p>
                    </div>
                </ul>
                <ul class="supplier_ul">
                    <div class="supplier_ulL">
                        <a href="#">
                            <img src="Common/Image/advimgs/gys2.gif" width="79" height="74" /></a></div>
                    <div class="supplier_ulR">
                        <h6>
                            MONDIAL S.p.A</h6>
                        <p>
                            Unitec作为特殊精密轴承的设计和制作的引导者，为全球机床和通用工业的用户提供高质量的服务和支持。<a href="#">详情>></a></p>
                    </div>
                </ul>--%>
            </div>
        </div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <ux:AspNetPager ID="AspNetPager1" CssClass="paginator" CurrentPageButtonClass="cpb"
                    runat="server" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" Width="95%"
                    ShowPageIndexBox="Always" PageSize="13" HorizontalAlign="right" EnableTheming="true"
                    AlwaysShow="true" PageIndexBoxType="DropDownList" OnPageChanged="AspNetPager1_PageChanged"
                    ButtonImageNameExtension="n" CpiButtonImageNameExtension="r" ShowCustomInfoSection="Left"
                    ShowNavigationToolTip="true" CustomInfoTextAlign="Left" LayoutType="Table" CustomInfoHTML=""
                    PrevPageText="上一页">
                </ux:AspNetPager>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    </form>
</asp:Content>
